package controllers;

import play.mvc.*;


import views.html.*;

/**
 * Created by Administrator on 2016/12/5.
 */
public class hello extends Controller {

    public Result helloa(String id,String name) {
        String a = "张天润";
        return ok("<p style=\"color:red\"> It works!id:"+a+"</p>").as("text/html");
    }

    public Result userinfo(){
        return redirect("../views/index.scala.html");
    }



}
